package com.example.homeworkservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName ("homework_submit")
public class homework_submit {
    @TableId(type = IdType.AUTO)
    private int id;
    @TableField("homework_id")
    private int homework_id;
    @TableField("user_id")
    private int user_id;
    @TableField("content_text")
    private String content_text;
    @TableField("file_url")
    private String file_url;
    @TableField("submitted_at")
    private String submitted_at;
    @TableField("score")
    private java.math.BigDecimal score;
    @TableField("graded_by")
    private Integer graded_by;
    @TableField("graded_at")
    private String graded_at;
    @TableField("feedback")
    private String feedback;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getHomework_id() {
        return homework_id;
    }

    public void setHomework_id(int homework_id) {
        this.homework_id = homework_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getContent_text() {
        return content_text;
    }

    public void setContent_text(String content_text) {
        this.content_text = content_text;
    }

    public String getFile_url() {
        return file_url;
    }

    public void setFile_url(String file_url) {
        this.file_url = file_url;
    }

    public String getSubmitted_at() {
        return submitted_at;
    }

    public void setSubmitted_at(String submitted_at) {
        this.submitted_at = submitted_at;
    }

    public java.math.BigDecimal getScore() {
        return score;
    }

    public void setScore(java.math.BigDecimal score) {
        this.score = score;
    }

    public Integer getGraded_by() {
        return graded_by;
    }

    public void setGraded_by(Integer graded_by) {
        this.graded_by = graded_by;
    }

    public String getGraded_at() {
        return graded_at;
    }

    public void setGraded_at(String graded_at) {
        this.graded_at = graded_at;
    }

    public String getFeedback() {
        return feedback;
    }

    public void setFeedback(String feedback) {
        this.feedback = feedback;
    }
}
